Optimal. Leaf size=144 \[ -\frac {(b c-a d) (a+b x)^m (c+d x)^{-m} \, _2F_1\left (2,m;1+m;-\frac {d (a+b x)}{b (c+d x)}\right )}{4 b^3 d m}+\frac {(b c-a d) (a+b x)^m (c+d x)^{-m} \left (\frac {b (c+d x)}{b c-a d}\right )^m \, _2F_1\left (-1+m,m;1+m;-\frac {d (a+b x)}{b c-a d}\right )}{4 b^3 d m} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.07, antiderivative size = 144, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 4, integrand size = 33, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.121, Rules used = {130, 72, 71,
133} \begin {gather*} \frac {(b c-a d) (a+b x)^m (c+d x)^{-m} \left (\frac {b (c+d x)}{b c-a d}\right )^m \, _2F_1\left (m-1,m;m+1;-\frac {d (a+b x)}{b c-a d}\right )}{4 b^3 d m}-\frac {(b c-a d) (a+b x)^m (c+d x)^{-m} \, _2F_1\left (2,m;m+1;-\frac {d (a+b x)}{b (c+d x)}\right )}{4 b^3 d m} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 71
Rule 72
Rule 130
Rule 133
Rubi steps
\begin {align*} \int \frac {(a+b x)^m (c+d x)^{2-m}}{(b c+a d+2 b d x)^2} \, dx &=\frac {\left ((b c-a d)^2 (c+d x)^{-m} \left (\frac {b (c+d x)}{b c-a d}\right )^m\right ) \int \frac {(a+b x)^m \left (\frac {b c}{b c-a d}+\frac {b d x}{b c-a d}\right )^{2-m}}{(b c+a d+2 b d x)^2} \, dx}{b^2}\\ &=\frac {(a+b x)^{1+m} (c+d x)^{-m} \left (\frac {b (c+d x)}{b c-a d}\right )^m F_1\left (1+m;-2+m,2;2+m;-\frac {d (a+b x)}{b c-a d},-\frac {2 d (a+b x)}{b c-a d}\right )}{b^3 (1+m)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains higher order function than in optimal. Order 6 vs. order 5 in
optimal.
time = 1.77, size = 308, normalized size = 2.14 \begin {gather*} \frac {(a+b x)^m (c+d x)^{-m} \left (-\frac {(b c-a d)^2 \left (\frac {d (a+b x)}{a d+b (c+2 d x)}\right )^{1-m} \left (\frac {b (c+d x)}{a d+b (c+2 d x)}\right )^m F_1\left (1;m,-m;2;\frac {-b c+a d}{a d+b (c+2 d x)},\frac {b c-a d}{b c+a d+2 b d x}\right )}{d^2 (a+b x)}+\frac {\left (\frac {d (a+b x)}{-b c+a d}\right )^{-m} \left (4 b (1+m) (c+d x) F_1\left (1-m;-m,1;2-m;\frac {b (c+d x)}{b c-a d},\frac {2 b (c+d x)}{b c-a d}\right )+2 d (-1+m) (a+b x) \left (-\frac {b d (a+b x) (c+d x)}{(b c-a d)^2}\right )^m \, _2F_1\left (m,1+m;2+m;\frac {d (a+b x)}{-b c+a d}\right )\right )}{d (-1+m) (1+m)}\right )}{8 b^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.02, size = 0, normalized size = 0.00 \[\int \frac {\left (b x +a \right )^{m} \left (d x +c \right )^{2-m}}{\left (2 b d x +a d +b c \right )^{2}}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {{\left (a+b\,x\right )}^m\,{\left (c+d\,x\right )}^{2-m}}{{\left (a\,d+b\,c+2\,b\,d\,x\right )}^2} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________